package castleContent;
public abstract class Building implements IBuilding{
	private int buildingLevel;
	
	Building() {
		this.buildingLevel = 1;
	}
	
	Building(int level) {
		this.buildingLevel = level;
	}
	
	@Override
	public void levelUp() {
		if(this.buildingLevel < 10)
			this.buildingLevel++;
	}
	public int getLevelUp(){
		return buildingLevel;
	}
}
